<template>
  <div class="footer">
    <div>
      已完成{{ isComplete }} / 全部{{ all }}
    </div>
    <div v-if="isComplete > 0">
      <button>清楚已完成</button>
    </div>
  </div>
</template>

<script>
import {defineComponent,ref,reactive,toRefs} from 'vue'
export default defineComponent({
  name:'NavFooter',
  setup(props,ctx) {
    let isComplete = ref(1);
    let all = ref(3);
    return {
      isComplete,
      all
    }

  }
});
</script>

<style lang="scss" scoped>
</style>
